using AutoMapper;
using Blog.Repository.Permission;
using Blog.Service.Permission.Output;
using XjjXmm.Infrastructure.Repository;
using XjjXmm.Infrastructure.User;

namespace Blog.Service.Permission;



/// <summary>
/// 权限
///</summary>
public interface IPermissionService : ICrudService<PermissionModel>
{
    Task<IEnumerable<PermissionEntity>> GetMenuPermissionByUserId(long userId);


    Task<List<PermissionListOutput>> GetList(string? key, DateTime? start, DateTime? end);

    Task<object> GetPermissionList();
}

